package com.hyy.cn.controller;


import com.hyy.cn.service.NgtcAttachmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 检测附件 前端控制器
 * </p>
 *
 * @author huyaoying
 * @since 2025-08-01
 */
@RestController
@RequestMapping("/sys/ngtc-attachment")
public class NgtcAttachmentController {

    @Autowired
    private NgtcAttachmentService ngtcAttachmentService;

    /**
     * 获取附件信息示例方法
     *
     * @return 返回附件信息
     */
    @GetMapping
    public String getAttachmentInfo() {
        ngtcAttachmentService.list();
        return "Attachment information";
    }

}

